//
//  LocAnnotationView.h
//  carcareIOS
//
//  Created by ileo on 15/7/17.
//  Copyright (c) 2015年 baozun. All rights reserved.
//

#import <MAMapKit/MAMapKit.h>

@interface LocRightClickCalloutView : UIView

-(instancetype)initWithFixedSize;

@property (nonatomic, copy) void (^RightClick)();

@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *subTitle;

@end

@interface LocSimpleCalloutView : UIView

-(instancetype)initWithFixedSize;

@property (nonatomic, copy) NSString *title;
@property (nonatomic , copy) NSString * subTitle;

@end

@interface LocAnnotationView : MAAnnotationView

+(UIView *)simpleCalloutView;
+(UIView *)rightClickCalloutViewWithRightClick:(void(^)())click;

@property (nonatomic, copy) void (^Select)();

@property (nonatomic, strong) UIView *calloutView;
@property (nonatomic, copy) void (^CalloutViewUpdate)(UIView * calloutView, id<MAAnnotation> annotation);

@end

